 <%= include_tiny_mce_if_needed %>
<h1>Editing web_config</h1>

<% form_for(@web_config) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label :description %><br />
    <%= f.text_field :description %>
  </p>
  <p>
    <%= f.label :style %><br />
    <%= f.text_field :style %>
  </p>
  <p>
    <%= f.label :content %><br />    
      <%= f.text_area :content,:class => 'mceEditor'%>
  </p>
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @web_config %> |
<%= link_to 'Back', web_configs_path %>